﻿<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" lang="zh-CN">
<head>
    <title th:text="创建角色"></title>
    <meta charset="utf-8">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="keywords" content="WAP游戏,文字游戏,怀旧,mud">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telphone=no,email=no">
    <meta name="misapplication-tap-highlight" content="no">
    <meta name="screen-orientation" content="portrait">
    <meta name="x5-orientation" content="portrait">
    <link rel="stylesheet" type="text/css" th:href="@{/assets/modules/mojie/mojie.css}" />
</head>
<body>
<div class="block-container">
    <form id="form" th:method="post" action="game?cmd=createRole" >
        <div>昵称</div>
        <div><input type="text" name="name" placeholder=""/></div>
        <div class="red" th:text="${error.message}" th:if="${error != null && not #strings.isEmpty(error.message)}"></div>
        <a th:href="@{javascript:void(0);}" onclick="document:form.submit();">创建角色</a>
        <!--<div><input type="submit" placeholder="" value="登陆"/></div>-->
    </form>
    <a th:href="@{javascript:history.back();}" title="">返回</a>
</div>
<nav class="page-navigate-bar">
    <a th:href="@{game(cmd=server)}" title="">服务器选择</a>
</nav>
</body>
</html>
